package com.xilihui.xlh.business.entities;

import com.google.gson.annotations.SerializedName;
import com.xilihui.xlh.core.app.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2018/7/11.
 */

public class BillDetailsEntity extends BaseEntity{


    /**
     * data : {"id":"2","money":"-154","deduct_money":"155.00","user_id":"2628","status":"1","type":"1","add_time":"1530154957","delete_time":"0","sa_id":"1","extract_time":"1530496766","remark":"大是大非111","server_account":{"id":"1","is_new":"0","order_num":"asda111","money":"1001.00","pay_type":"1","pay_time":"1528983861","worker_appoint":[{"sa_id":"1","id":"11","project_id":"5","seat_money":"0.00","agent_id":"8","appoint_num":"","check_end_time":"1530608400","check_start_time":"1530601200","deduct_money":"155.00","deduct_type_id":"3","hair_project":{"project_id":"5","name":"拉直"},"agent":{"id":"8","name":"测试添加门店 归属市代"},"time_diff":"2小时"}]},"yuyue":"是","daozhang":"已到账","yuji_time":"2018-07-05","zaitu_daozhang":"到账服务佣金","fuwuyongjin":"700.7","order_num":"asda111","pay_type":"支付宝","fukuan_time":"2018:06:14 21:44","daozhang_time":"2018:07:02 09:59","deduct":[{"order_num":"asda111","deduct_type":"克扣","add_time":"2018-07-10 20:02","remark":"就扣你钱","money":"155.00"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * money : -154
         * deduct_money : 155.00
         * user_id : 2628
         * status : 1
         * type : 1
         * add_time : 1530154957
         * delete_time : 0
         * sa_id : 1
         * extract_time : 1530496766
         * remark : 大是大非111
         * server_account : {"id":"1","is_new":"0","order_num":"asda111","money":"1001.00","pay_type":"1","pay_time":"1528983861","worker_appoint":[{"sa_id":"1","id":"11","project_id":"5","seat_money":"0.00","agent_id":"8","appoint_num":"","check_end_time":"1530608400","check_start_time":"1530601200","deduct_money":"155.00","deduct_type_id":"3","hair_project":{"project_id":"5","name":"拉直"},"agent":{"id":"8","name":"测试添加门店 归属市代"},"time_diff":"2小时"}]}
         * yuyue : 是
         * daozhang : 已到账
         * yuji_time : 2018-07-05
         * zaitu_daozhang : 到账服务佣金
         * fuwuyongjin : 700.7
         * order_num : asda111
         * pay_type : 支付宝
         * fukuan_time : 2018:06:14 21:44
         * daozhang_time : 2018:07:02 09:59
         * deduct : [{"order_num":"asda111","deduct_type":"克扣","add_time":"2018-07-10 20:02","remark":"就扣你钱","money":"155.00"}]
         */

        private String id;
        private String money;
        private String deduct_money;
        private String user_id;
        private String status;
        private String statusX;
        private String type;
        private String add_time;
        private String delete_time;
        private String sa_id;
        private String extract_time;
        private String remark;
        private ServerAccountBean server_account;
        private String yuyue;
        private String daozhang;
        private String yuji_time;
        private String zaitu_daozhang;
        private String fuwuyongjin;
        private String order_num;
        private String pay_type;
        private String fukuan_time;
        private String daozhang_time;
        private String phone;
        private List<DeductBean> deduct;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getDeduct_money() {
            return deduct_money;
        }

        public void setDeduct_money(String deduct_money) {
            this.deduct_money = deduct_money;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getStatusX() {
            return statusX;
        }

        public void setStatusX(String statusX) {
            this.statusX = statusX;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getDelete_time() {
            return delete_time;
        }

        public void setDelete_time(String delete_time) {
            this.delete_time = delete_time;
        }

        public String getSa_id() {
            return sa_id;
        }

        public void setSa_id(String sa_id) {
            this.sa_id = sa_id;
        }

        public String getExtract_time() {
            return extract_time;
        }

        public void setExtract_time(String extract_time) {
            this.extract_time = extract_time;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public ServerAccountBean getServer_account() {
            return server_account;
        }

        public void setServer_account(ServerAccountBean server_account) {
            this.server_account = server_account;
        }

        public String getYuyue() {
            return yuyue;
        }

        public void setYuyue(String yuyue) {
            this.yuyue = yuyue;
        }

        public String getDaozhang() {
            return daozhang;
        }

        public void setDaozhang(String daozhang) {
            this.daozhang = daozhang;
        }

        public String getYuji_time() {
            return yuji_time;
        }

        public void setYuji_time(String yuji_time) {
            this.yuji_time = yuji_time;
        }

        public String getZaitu_daozhang() {
            return zaitu_daozhang;
        }

        public void setZaitu_daozhang(String zaitu_daozhang) {
            this.zaitu_daozhang = zaitu_daozhang;
        }

        public String getFuwuyongjin() {
            return fuwuyongjin;
        }

        public void setFuwuyongjin(String fuwuyongjin) {
            this.fuwuyongjin = fuwuyongjin;
        }

        public String getOrder_num() {
            return order_num;
        }

        public void setOrder_num(String order_num) {
            this.order_num = order_num;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getFukuan_time() {
            return fukuan_time;
        }

        public void setFukuan_time(String fukuan_time) {
            this.fukuan_time = fukuan_time;
        }

        public String getDaozhang_time() {
            return daozhang_time;
        }

        public void setDaozhang_time(String daozhang_time) {
            this.daozhang_time = daozhang_time;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public List<DeductBean> getDeduct() {
            return deduct;
        }

        public void setDeduct(List<DeductBean> deduct) {
            this.deduct = deduct;
        }

        public static class ServerAccountBean {
            /**
             * id : 1
             * is_new : 0
             * order_num : asda111
             * money : 1001.00
             * pay_type : 1
             * pay_time : 1528983861
             * worker_appoint : [{"sa_id":"1","id":"11","project_id":"5","seat_money":"0.00","agent_id":"8","appoint_num":"","check_end_time":"1530608400","check_start_time":"1530601200","deduct_money":"155.00","deduct_type_id":"3","hair_project":{"project_id":"5","name":"拉直"},"agent":{"id":"8","name":"测试添加门店 归属市代"},"time_diff":"2小时"}]
             */

            private String id;
            private String is_new;
            private String order_num;
            private String money;
            private String pay_type;
            private String pay_time;
            private List<WorkerAppointBean> worker_appoint;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getIs_new() {
                return is_new;
            }

            public void setIs_new(String is_new) {
                this.is_new = is_new;
            }

            public String getOrder_num() {
                return order_num;
            }

            public void setOrder_num(String order_num) {
                this.order_num = order_num;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getPay_type() {
                return pay_type;
            }

            public void setPay_type(String pay_type) {
                this.pay_type = pay_type;
            }

            public String getPay_time() {
                return pay_time;
            }

            public void setPay_time(String pay_time) {
                this.pay_time = pay_time;
            }

            public List<WorkerAppointBean> getWorker_appoint() {
                return worker_appoint;
            }

            public void setWorker_appoint(List<WorkerAppointBean> worker_appoint) {
                this.worker_appoint = worker_appoint;
            }

            public static class WorkerAppointBean {
                /**
                 * sa_id : 1
                 * id : 11
                 * project_id : 5
                 * seat_money : 0.00
                 * agent_id : 8
                 * appoint_num : 
                 * check_end_time : 1530608400
                 * check_start_time : 1530601200
                 * deduct_money : 155.00
                 * deduct_type_id : 3
                 * hair_project : {"project_id":"5","name":"拉直"}
                 * agent : {"id":"8","name":"测试添加门店 归属市代"}
                 * time_diff : 2小时
                 */

                private String sa_id;
                private String id;
                private String project_id;
                private String seat_money;
                private String agent_id;
                private String appoint_num;
                private String check_end_time;
                private String check_start_time;
                private String deduct_money;
                private String deduct_type_id;
                private HairProjectBean hair_project;
                private AgentBean agent;
                private String time_diff;

                public String getSa_id() {
                    return sa_id;
                }

                public void setSa_id(String sa_id) {
                    this.sa_id = sa_id;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getProject_id() {
                    return project_id;
                }

                public void setProject_id(String project_id) {
                    this.project_id = project_id;
                }

                public String getSeat_money() {
                    return seat_money;
                }

                public void setSeat_money(String seat_money) {
                    this.seat_money = seat_money;
                }

                public String getAgent_id() {
                    return agent_id;
                }

                public void setAgent_id(String agent_id) {
                    this.agent_id = agent_id;
                }

                public String getAppoint_num() {
                    return appoint_num;
                }

                public void setAppoint_num(String appoint_num) {
                    this.appoint_num = appoint_num;
                }

                public String getCheck_end_time() {
                    return check_end_time;
                }

                public void setCheck_end_time(String check_end_time) {
                    this.check_end_time = check_end_time;
                }

                public String getCheck_start_time() {
                    return check_start_time;
                }

                public void setCheck_start_time(String check_start_time) {
                    this.check_start_time = check_start_time;
                }

                public String getDeduct_money() {
                    return deduct_money;
                }

                public void setDeduct_money(String deduct_money) {
                    this.deduct_money = deduct_money;
                }

                public String getDeduct_type_id() {
                    return deduct_type_id;
                }

                public void setDeduct_type_id(String deduct_type_id) {
                    this.deduct_type_id = deduct_type_id;
                }

                public HairProjectBean getHair_project() {
                    return hair_project;
                }

                public void setHair_project(HairProjectBean hair_project) {
                    this.hair_project = hair_project;
                }

                public AgentBean getAgent() {
                    return agent;
                }

                public void setAgent(AgentBean agent) {
                    this.agent = agent;
                }

                public String getTime_diff() {
                    return time_diff;
                }

                public void setTime_diff(String time_diff) {
                    this.time_diff = time_diff;
                }

                public static class HairProjectBean {
                    /**
                     * project_id : 5
                     * name : 拉直
                     */

                    private String project_id;
                    private String name;

                    public String getProject_id() {
                        return project_id;
                    }

                    public void setProject_id(String project_id) {
                        this.project_id = project_id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }

                public static class AgentBean {
                    /**
                     * id : 8
                     * name : 测试添加门店 归属市代
                     */

                    private String id;
                    private String name;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }
            }
        }

        public static class DeductBean {
            /**
             * order_num : asda111
             * deduct_type : 克扣
             * add_time : 2018-07-10 20:02
             * remark : 就扣你钱
             * money : 155.00
             */

            private String order_num;
            private String deduct_type;
            private String add_time;
            private String remark;
            private String money;

            public String getOrder_num() {
                return order_num;
            }

            public void setOrder_num(String order_num) {
                this.order_num = order_num;
            }

            public String getDeduct_type() {
                return deduct_type;
            }

            public void setDeduct_type(String deduct_type) {
                this.deduct_type = deduct_type;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }
        }
    }
}
